package com.tangula.web.console.hello.component;

import java.util.HashMap;

import org.springframework.stereotype.Service;

import com.tangula.basic.component.DefaultSimpleComponent;
import com.tangula.core.Context;

@Service
public class HelloComponent extends DefaultSimpleComponent<Context>{
	
	@Override
	public void execute(Context context) {
		HashMap<String,Object> res = new HashMap<String, Object>();
		res.put("info", "hello world");
		context.state(Context.KEY_RESULT, res);
	}

}
